home *** CD-ROM | disk | FTP | other *** search
/ NOVA - For the NeXT Workstation / NOVA - For the NeXT Workstation.iso / SourceCode / OOP_Course / Examples / ExtendDraw / Rectangle.bproj / AShape.h next >
Text File  |  1992-12-19  |  315b  |  23 lines

  1. #import <objc/Object.h>
  2. #import <dpsclient/wraps.h>
  3. #import <appkit/View.h>
  4.  
  5. @interface AShape:Object
  6. {
  7.     NXRect     bbox;
  8.     int        fill;
  9.     float    shade;
  10. }
  11.  
  12. -initShapeWithBBox:(NXRect *)r;
  13. -setFill:(int)i;
  14. -(int)fill;
  15. -setShade:(float)s;
  16. -(float)shade;
  17. -setBbox:(NXRect *)r;
  18. -(NXRect *)bbox;
  19. -drawShape;
  20.  
  21. @end
  22.     
  23.